package com.peas.platform.module.icims.budget.apply.dto;

import com.peas.platform.common.core.dto.BaseDto;
import com.peas.platform.framework.mybatisplus.annotation.Condition;
import com.peas.platform.framework.mybatisplus.annotation.ConditionOperator;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.util.Date;

// 一上预算汇总
@Data
@EqualsAndHashCode(callSuper = false)
public class BudgetOneCollectDto extends BaseDto {

    //汇总数据类型
    //项目汇总、项目同步
    @Condition(operator = ConditionOperator.IN)
    private String budgetOneCollectType;

    //汇总数据编码
    @Condition(operator = ConditionOperator.IN)
    private String budgetOneCollectCode;

    //汇总数据名称
    private String budgetOneCollectName;

    //组织架构ID
    //（组织架构表）外键
    private Long organizationId;

    //一级项目ID
    //（一级项目表）外键
    private Long projectOneId;

    //单位ID
    //（单位表）外键
    private Long governmentId;

    //汇总金额
    private BigDecimal totalAmount;

    //一上批复金额
    private BigDecimal approveAmount;

    //预算域同步状态
    @Condition(operator = ConditionOperator.IN)
    private String ysySync;

    //预算域同步结果
    private String ysySyncResult;

    //Criteria
    private Date createTimeStart;
    private Date createTimeEnd;
    private Date updateTimeStart;
    private Date updateTimeEnd;
}
